package com.cxs.shopstore.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
 * @Author:cxs
 * @Date:2021/5/6  10:02
 * @Version 1.0
 * ES服务器配置类
 * */
@Data
@Component
@ConfigurationProperties(prefix = "es")
public class ESProperties {
    private String host;
    private int port;
}
